package com.sdap2.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.time.LocalDateTime;

@Data
public class DeviceDataResponse {
    private String id;
    
    @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSSSSS'Z'")
    private LocalDateTime timestamp;
    
    private Integer dataType;
    private String name;
    private Double value;
    private String boxId;
    private Integer status;
    private Integer connState;
    
    @JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSSSSS'Z'")
    private LocalDateTime connStateTimestamp;
} 